package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_building_houseMapper;
import com.business.domain.T_building_house;

@Service("t_building_houseService")
@Transactional
public class T_building_houseService{
	private static Logger log = Logger.getLogger(T_building_houseService.class.getName());

	@Resource
    private T_building_houseMapper t_building_houseMapper;


	public int save(T_building_house obj){
		 return t_building_houseMapper.save(obj);
	}

	public int update(T_building_house obj){
		return t_building_houseMapper.update(obj);
	}

	public int delete(T_building_house obj){
		return t_building_houseMapper.delete(obj);
	}

	public T_building_house findById(T_building_house obj){
		return t_building_houseMapper.findById(obj);
	}

	public List findAll(T_building_house obj ){
		 return t_building_houseMapper.findAll(obj);
	}

	public int findCountAll(T_building_house obj ){
		 return t_building_houseMapper.findCountAll(obj);
	}
}
